<?php
/**
 * CelebrioPeople Person
 *
 * @copyright  Copyright (c) 2011 Celebrio Software
 * @package    CelebrioPeople
 */

namespace ApplicationsModule\GalleryModule;

use Celebrio\Core\DummyInit;
use Celebrio\Core\IModuleInit;

/**
 * Description of PicasaInit
 *
 * @author honza
 */
class PicasaInit extends DummyInit implements IModuleInit {
    
    public function init(array $configuration) {
        PicasaWeb::setConnectionSettings($configuration);
    }
    
    public function formFields() {
        return array(
            array(
                "name" => "client_id", 
                "label" => "Client ID:", 
                "type" => "text", 
                "required" => _('Please provide a client ID.')
            ),
            array(
                "name" => "client_secret", 
                "label" => "Client secret:", 
                "type" => "password", 
                "required" => _('Please provide a account name.')
            )            
        );
    }
}